﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using System.Data.SqlClient;
using System.Configuration;
using ERPStudio;
using System.Threading;
using System.Globalization;

namespace UserControls
{
    class dscModule : ModuleClass
    {
        private static Autorizare oAuth = new Autorizare();
        public dscModule(Int16 codUnit, String numeUnit,string theme)
            : base(codUnit, numeUnit,theme)
        {
            workConnectionString = "ESRPConnectionString";
        }
        /// <summary>
        /// returneaza ID-ul intern pentru autorizare - 
        /// deriva din numele modului si este o cheie de control
        /// </summary>
        /// <returns></returns>
        public static String GetModuleID()
        {
            return "998";
        }
        
        /// <summary>
        /// incarca meniul acestui modul
        /// </summary>
        /// <param name="myMenu"></param>
        /// 

        public void LoadMenu(ToolStripMenuItem mn, Form vForm, Guid appid, Guid userID)
        {
            base.LoadMenu(mn, (FrmMainMdi)vForm, appid, userID);
        }

    }
}
